package com.xxx.ui;

import javax.swing.*;

public class RegisterFrame extends JFrame {
	public RegisterFrame() {
		this.setSize(600, 400);
		this.setVisible(true);
		// 设置标题
		this.setTitle("注册页面");
		// 页面居中
		this.setLocationRelativeTo(null);
		// 关闭后台程序
		this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
	}
}
